Skip to main content
promises.FileHandle.[Symbol.asyncDispose] - fs - Node documentation
method promises.FileHandle.[Symbol.asyncDispose]

Usage in Deno

import { type promises } from "node:fs";
FileHandle.[Symbol.asyncDispose](): Promise<void>

An alias for FileHandle.close().

Return Type

Promise<void>